Index Parent

Popstring class


The Popstring class is used to create a popstring, which is an object made of:

Any time the button object is "pressed" the window is opened.

See Popobject

 

ATTRIBUTES
Name Type Class Note
Button S I IN  
CloseFun S i At Init time you can supply a macro in this attribute: anytime the object is closed, CloseFun macro is executed (with no argument). The macro must be an ARexx-in-line-string-macro designed to be very fast.
Open B GN Set and notified when the window is opened/closed.
OpenFun S I At Init time you can supply a macro in this attribute: anytime the object is to be opened, OpenFun macro is executed (with no argument). The object is opened if and only if the macro returns 1. The macro must be an ARexx-in-line-string-macro designed to be very fast.
String S I IN A String class object .
Success B GN Set and notified when the window is closed with success. The popobject doesn't know anything about it: you must tell him what success means via a notify, e.g.:
    call Notify("pw","CloseRequest",1,"ps","Close",0)
    call Notify("cs","Pressed",0,"ps","Close",1)
Toggle B ISG  
Window S I IN  

 

 

METHODS
Name Parameters Note
Close [success/N]  
Open